home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip: 2005 Utilities
/
CHIP Utilities 2005.7z
/
CHIP Utilities 2005.iso
/
images
/
arachne.igz
/
arachne.img
/
LEVEL0
/
UTILZ.CAB
/
bin
/
Mac.bat
< prev
next >
Wrap
DOS Batch File
|
2005-01-16
|
442b
|
13 lines
@if "%debug%"=="" echo off
if not exist %ramdrv%\bin\macaddr.exe goto _end
macaddr | tfind "address:" >%tmp%\_mac.tmp
lmod /S. set macaddr=[$3][$4][$5][$6][$7][$8][+]set macaddr8=[$5][$6][$7][$8]<%tmp%\_mac.tmp >%tmp%\_mac.bat
set macaddr=
set macaddr8=
call %tmp%\_mac.bat
if not "%macaddr8%"=="????????" goto _end
set macaddr=000000000000
set macaddr8=00000000
:_end
for %%i in (%tmp%\_mac.*) do if exist %%i del %%i >%tmp%\nul